<template>
  <div>
    <button @click="increment">+</button>
  </div>
</template>

<script setup>
import { defineEmits, defineProps } from 'vue'

const props = defineProps({
  setp: {
    type: Number,
    default: 1
  }
})

const emits = defineEmits(['click'])

const increment = () => {
  emits('click', props.setp)
}
</script>

<style lang="scss" scoped></style>
